﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="MasterAdvancedSearchresults.aspx.cs" Inherits="WebApplication10.MasterAdvancedSearchresults" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">


h2
{
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

        
h2
{
    font-size: 1.5em;
    font-weight: 600;
}

        .style14
        {
            width: 100%;
        }
        .style15
        {
            width: 376px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2>
        Searching for
        <asp:Label ID="Label3" runat="server" Text="____"></asp:Label>
    </h2>
    <br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" CellPadding="4" DataSourceID="dsSearchResults" 
        ForeColor="#333333" GridLines="None" Height="67px" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" Width="832px" 
        style="text-align: center">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="JobCategoryID" HeaderText="JobCategoryID" 
                SortExpression="JobCategoryID"></asp:BoundField>
            <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name">
            </asp:BoundField>
            <asp:BoundField DataField="CompanyID" HeaderText="CompanyID" 
                SortExpression="CompanyID"></asp:BoundField>
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <sortedascendingcellstyle backcolor="#F5F7FB" />
        <sortedascendingheaderstyle backcolor="#6D95E1" />
        <sorteddescendingcellstyle backcolor="#E9EBEF" />
        <sorteddescendingheaderstyle backcolor="#4870BE" />
        <SortedAscendingCellStyle BackColor="#F5F7FB">
        </SortedAscendingCellStyle>
        <SortedAscendingHeaderStyle BackColor="#6D95E1">
        </SortedAscendingHeaderStyle>
        <SortedDescendingCellStyle BackColor="#E9EBEF">
        </SortedDescendingCellStyle>
        <SortedDescendingHeaderStyle BackColor="#4870BE">
        </SortedDescendingHeaderStyle>
    </asp:GridView>
    <br />
    <br />
    <br />
    <br />
    <table class="style14">
        <tr>
            <td class="style15">
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td class="style15">
                <asp:ObjectDataSource ID="dsSearchResults" runat="server" 
                    OldValuesParameterFormatString="original_{0}" 
                    onselecting="dsSearchResults_Selecting" SelectMethod="GetJobCategoriesByName" 
                    TypeName="WebApplication10.App_Code.JobCategory">
                    <SelectParameters>
                        <asp:SessionParameter Name="name" SessionField="JobName" Type="String" />
                    </SelectParameters>
                </asp:ObjectDataSource>
            </td>
            <td>
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                    PostBackUrl="~/HomePage.aspx" Text="Back" />
            </td>
        </tr>
    </table>
</asp:Content>
